﻿@model MvcEditorModel
@{
    DateTime? value = Model.Value as DateTime?;
}
@if (value != null)
{
    @value.Value.ToString("yyyy-MM-dd")
}